why power bi calculate function not producing right output